home *** CD-ROM | disk | FTP | other *** search
/ Columbia Kermit / kermit.zip / newsgroups / misc.19970326-19970626 / 000229_news@newsmaster….columbia.edu _Thu May 22 18:39:14 1997.msg < prev    next >
Internet Message Format  |  2020-01-01  |  3KB

  1. Return-Path: <news@newsmaster.cc.columbia.edu>
  2. Received: from newsmaster.cc.columbia.edu (newsmaster.cc.columbia.edu [128.59.35.30])
  3.     by watsun.cc.columbia.edu (8.8.5/8.8.5) with ESMTP id SAA01845
  4.     for <kermit.misc@watsun.cc.columbia.edu>; Thu, 22 May 1997 18:39:14 -0400 (EDT)
  5. Received: (from news@localhost)
  6.     by newsmaster.cc.columbia.edu (8.8.5/8.8.5) id SAA15136
  7.     for kermit.misc@watsun; Thu, 22 May 1997 18:39:13 -0400 (EDT)
  8. Path: news.columbia.edu!watsun.cc.columbia.edu!fdc
  9. From: fdc@watsun.cc.columbia.edu (Frank da Cruz)
  10. Newsgroups: comp.protocols.kermit.misc
  11. Subject: Re: C-Kermit hangup problem
  12. Date: 22 May 1997 22:39:12 GMT
  13. Organization: Columbia University
  14. Lines: 49
  15. Message-ID: <5m2hug$eot$1@newsmaster.cc.columbia.edu>
  16. References: <5m2fdm$t7g$1@ralph.vnet.net>
  17. NNTP-Posting-Host: watsun.cc.columbia.edu
  18. Keywords: Kermit
  19. Xref: news.columbia.edu comp.protocols.kermit.misc:7071
  20.  
  21. In article <5m2fdm$t7g$1@ralph.vnet.net>, spanosa <spanosa@vnet.net> wrote:
  22. : I'm running C-Kermit 6.0.192 for Linux (Version 2.0.29 running 
  23. : on a Pentium box) and have a problem getting it to hangup. I've 
  24. : written a script to download some binary files on a BBS. The 
  25. : script works fine up to the point when it says "quit" or
  26. : "exit" at which point Kermit responds:
  27. : A serial connection might still be active on /dev/modem.
  28. : OK to exit?
  29. The message means that a serial connection might still be active on
  30. /dev/modem.  In other words, at the point where your "quit" command is
  31. executed, the modem is still presenting the carrier signal.  Kermit is
  32. being nice and warning you about this, since most people don't exit from
  33. a communications program while the connection is still open.
  34.  
  35. : Kermit will not shut down until I have hit "y." I've tried 
  36. : sending "+++ath" instead of "hangup" and everything else I 
  37. : can think of. 
  38. : I need to run this script on a cron process so as to 
  39. : automatically update a web page. Obviously being forced to 
  40. : interact with the modem  is of no value.
  41. : I would be most grateful for any advice.
  42. You can fix the underlying problem or you can fix the symptom.
  43. The methods are described in detail in the manual, "Using C-Kermit".
  44.  
  45. If your script is logging out from the remote system, this should
  46. cause the remote system to hang up its end of the phone call, which
  47. stops the carrier signal, and this in turn should cause your modem to
  48. turn off its CD signal, which in turn should prevent the message.
  49. Check your modem's configuration -- do you have it forcing CD up all
  50. the time, rather than following carrier, as it should?  If so,
  51. change the modem's configuration; for example, add "&C1" to its init
  52. string, e.g.
  53.  
  54.   set modem command init \freplace(\v(m_init),AT,AT&C1)
  55.  
  56. (In the UNIX versions of C-Kermit we don't mess with &Cn, &Sn, &Dn,
  57. etc, because this rubs too many sysadmins the wrong way.)  Or just
  58. change it in your modem and save the configuration.
  59.  
  60. If you really want to log out and exit while the connection is still
  61. open, then, as explained on pages 464-465, use "set exit warning off".
  62.  
  63. - Frank